<?php

namespace App\Domain\FamilyMember\RpcService;

class FamilyMemberService implements FamilyMemberInterface
{
    public function getlist($memberUid)
    {
        $data = (new \App\Domain\FamilyMember\Services\FamilyMemberService())->list($memberUid);
        return $data;
    }

    public function getInfo($memberUid)
    {
        $data = (new \App\Domain\FamilyMember\Services\FamilyMemberService())->getInfo($memberUid);
        return $data;
    }

    public function getByIdcard($idcard)
    {
        $data = (new \App\Domain\FamilyMember\Services\FamilyMemberService())->getByIdcard($idcard);
        return $data;
    }

    public function getByName($name)
    {
        $data = (new \App\Domain\FamilyMember\Services\FamilyMemberService())->getByName($name);
        return $data;
    }

    public function getByNameAndPhoneAndIdcard($param)
    {
        $data = (new \App\Domain\FamilyMember\Services\FamilyMemberService())->getByNameAndPhoneAndIdcard($param);
        return $data;
    }
}
